<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="index.css" />
	</head>
	<body>
	</body>
</html>
<script src="index.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">

	var rootNode = new FlowNodes();
	document.body.appendChild(rootNode.getElement());
	
	var startFlowNode = new FlowNode("提交", "start");
	rootNode.addFlowNode(startFlowNode);
	var approvalFlowNode1 = new FlowNode("审批节点1", "approval");
	rootNode.addFlowNode(approvalFlowNode1)

	var approvalFlowNode2 = new FlowNode("审批节点2", "approval");
	rootNode.addFlowNode(approvalFlowNode2)

	var ccFlowNode = new FlowNode("抄送后勤部", "cc");
	rootNode.addFlowNode(ccFlowNode)

	var flowNodeRoute = new FlowNodeRoute();
	rootNode.addFlowNode(flowNodeRoute)
	
	var endFlowNode = new FlowNode("结束", "end");
	rootNode.addFlowNode(endFlowNode)
</script>
